Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sha1 precompile #33

Merged
merged 1 commit into from
Dec 21, 2018
Merged

Add sha1 precompile #33

merged 1 commit into from
Dec 21, 2018

Conversation

axic
Copy link
Member

@axic axic commented Dec 21, 2018

Implements #29.


#[cfg(not(test))]
#[no_mangle]
pub extern "C" fn main() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you split the body of this function out into a helper, so that we could unit-test it without duplicating code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not. Will unit test these when ewasm/ewasm-rust-api#5 is finished.

@axic axic merged commit 9c28966 into master Dec 21, 2018
@axic axic deleted the sha1 branch December 21, 2018 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants